#!/bin/bash   
#FileName  repo_sync.sh  
#PATH=~/bin:$PATH   
#repo init -u https://gitee.com/openharmony/manifest -b OpenHarmony-3.2-Beta4 --no-repo-verify
repo sync -c   
while [ $? = 1 ]; do   
echo "================sync failed, re-sync again ====="   
sleep 3   
repo sync -c  
done

repo forall -c "git lfs pull" 
while [ $? = 1 ]; do   
echo "================repo forall -c \"git lfs pull\"   ====="   
sleep 3   
repo forall -c "git lfs pull"   
done
